import request from '@/utils/request'

// 查询垃圾分类督导导入明细列表
export function listSortingImportDetail(query) {
  return request({
    url: '/standingbook/sortingImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询垃圾分类督导导入明细详细
export function getSortingImportDetail(id) {
  return request({
    url: '/standingbook/sortingImportDetail/' + id,
    method: 'get'
  })
}

// 新增垃圾分类督导导入明细
export function addSortingImportDetail(data) {
  return request({
    url: '/standingbook/sortingImportDetail',
    method: 'post',
    data: data
  })
}

// 修改垃圾分类督导导入明细
export function updateSortingImportDetail(data) {
  return request({
    url: '/standingbook/sortingImportDetail',
    method: 'put',
    data: data
  })
}

// 删除垃圾分类督导导入明细
export function delSortingImportDetail(id) {
  return request({
    url: '/standingbook/sortingImportDetail/' + id,
    method: 'delete'
  })
}
